<?xml version="1.0" encoding="utf-8"?>

<clickhouse>
  <storage_configuration>
    <disks>
        <s3_disk>
            <type>s3</type>
            <endpoint>http://minio1:9001/root/data/</endpoint>
            <access_key_id>minio</access_key_id>
            <secret_access_key>minio123</secret_access_key>
        </s3_disk>
    </disks>

    <policies>
        <s3>
            <volumes>
                <main>
                    <disk>s3_disk</disk>
                </main>
            </volumes>
        </s3>
    </policies>
  </storage_configuration>
</clickhouse>
